import { createApp } from 'vue'
import './style.css'
import App from './App.vue'


import './assets/css/reset.less'
import Card from './components/Card/index.vue'
import mitt from 'mitt'
const app = createApp(App)
app.component('Card', Card)
declare module 'vue' {
    export interface componentCustomProperties {
        $Bus: typeof Mit
    }
}

const Mit = mitt()
app.config.globalProperties.$Bus = Mit

app.mount('#app')
